package com.yun.dao;

import com.yun.pojo.Message;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface MessageMapper {

   List<Message> queryMessage() ;

   int addMessage(Message message);

   int deleteMessageById(int id);

}
